<style>
    body{
        background-color: #f9f9f9;
    }

    /*自己的样式*/
    .xh-area-form tr > td > label{
        float: right;
        margin-right: 20px;
    }
    .xh-area-form tr > td > a{
        float: left;
    }
    /*.xh-area-form tr > td > a:first-child{*/
    /*margin-left: 75px;*/
    /*}*/
    .edui-dialog-image-body{
        height:300px !important;
    }
    .edui-tab-content{
        height:230px !important;
    }
    .edui-tab-content>.edui-active{
        height: 230px !important;
    }
    .edui-image-content{
        height: 230px !important;
    }



</style>
<script>
    var info = null;
    {% if info is defined %}
        info={{ info }};
    {% endif %}
    var targets = {{ targets | json_encode }}
</script>
<div >
    <form id="xh_form" class="xh-form"  method="post" >
        <div class="xh-area-form" style="width:100%;">
            <table style="width: 100%">
                <tr>
                    <td style="width: 75px"><label>活动名称</label></td>
                    <td style="width: 270px;"><input name="sTitle" must="true" type="text" >
                        <input name="iArtId" type="hidden">
                        <input name="iArtType" type="hidden" value="9">
                        <input name="iSchoolId" type="hidden" value="{{ schoolId }}">
                    </td>
                    <td style="width: 75px"><label>开始时间</label></td>
                    <td style="width: 200px;"><input type="text" class="form-date" name="tStartTime"></td>
                    <td style="width: 75px"><label>结束时间</label></td>
                    <td ><input type="text" class="form-date" name="tEndTime"></td>
                </tr>
                <tr>
                    <td style="width: 75px"><label>活动范围</label></td>
                    <td >
                        <select name="sTag" >
                            <option value="" style="display: none" selected>请选择</option>
                            {% for value,text in iActType %}
                                <option value="{{ value }}">{{ text }}</option>
                            {% endfor %}
                        </select>
                    </td>
                </tr>
                <tr>
                    <td style="width: 75px"><label>校方负责人</label></td>
                    <td >
                        <select name="iUserId"  style="width: 250px;">
                            <option value="" style="display: none" selected>请选择</option>
                            {% for value,text in users %}
                                <option value="{{ value }}">{{ text }}</option>
                            {% endfor %}
                        </select>
                    </td>
                    <td style="width: 75px"><label>学科</label></td>
                    <td colspan="3">
                        <select name="sSubject[]" multiple="multiple" style="width: 480px;" >
                            {% for value,text in subjects %}
                                <option value="{{ value }}">{{ text }}</option>
                            {% endfor %}
                        </select>
                    </td>
                </tr>
                <tr>
                    <td><label >内容</label></td>
                    <td colspan="5"><script type="text/plain" id="myEditor" name="mText" style="width: 836px;height:340px;"></script></td>
                </tr>
            </table>
        </div>
    </form>
</div>
<from id="fileForm"  enctype="multipart/form-data" method="post" uploadeFileUrl="{{ url('article/fileUpload') }}" style="display:none" >
    <input type="file" name="file" id="file">
</from>


